<?php
declare (strict_types = 1);

namespace app\api\model\v1;

use think\Model;

/**
 * @mixin \think\Model
 */
class ProjectSecondLevel extends AppModel
{
    //关联项目细则
    public function extra(){
        return $this->hasMany(ProjectDetail::class,'project_second_level_id');
    }


    public function projectDetail(){
        return $this->hasMany(ProjectDetail::class,'project_second_level_id');
    }

}
